package com.example.springboot.service;

import com.example.springboot.model.Customer;
import com.github.pagehelper.Page;

import java.util.List;

public interface CustomerService {
    Page<List<Customer>> getListPage(Customer customer, Integer pageNum, Integer pageSize);
    void saveOrUpdate(Customer customer);
    void del(Long id);
}
